#include <QApplication>
#include <QTextCodec>
#include "sysdialog.h"

//#define LOGIN
int main(int argc, char *argv[])
{
    QApplication app(argc, argv);

    //中文支持
    QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
    QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));        //支持Tr中文
    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8")); //支持中文文件名显示
    SysDialog *win = new SysDialog();
    win->show();

    return app.exec();
}
